/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package simhya.matheval.operator;

/**
 *
 * @author Luca
 */
public abstract class OperatorDefinition {
    String symbol;

    public OperatorDefinition(String name) {
        this.symbol = name;
    }

    public String getStringRepresentation() {
        return symbol;
    }

    public abstract double compute(double x);
    public abstract double compute(double x, double y);
    
    
}
